package com.xxxx.server.utils;

import com.xxxx.server.exceptions.ParamsException;

/**
 * @author hfq
 */
public class AssertUtil {

    public static void isTrue(Boolean flag,String msg){
        if(flag){
            throw new ParamsException(msg);
        }
    }
}
